home *** CD-ROM | disk | FTP | other *** search
- # This allows use with nmake.exe
- all: xmodem.exe
-
- # Use /A switch to rebuild all ( ie. nmake /a viewer)
-
- # Define the default assemble command.
- ASM = masm -Mx
- CC = cl -c -Asnw -Gsw -Oad -W3 -Zpe -Zi
- LINK = link /NOD/NOE/CO
-
-
- # For Run Time change the following:
- #ASM = masm
- #CC = cl -c -AS -Gsw -Oat -W3 -Zpe
- #LINK = link /NOD/NOE
-
-
- # Define the default inference rules
-
- .c.obj:
- $(CC) $* $*.c
-
- .asm.obj:
- $(ASM) $*.asm;
-
-
- # Define the dependencies
-
-
- xmodem.res: xmodem.rc
- rc -r xmodem.rc
-
- OBJ = xmodem.obj libentry.obj fdate.obj
-
- xmodem.obj: xmodem.c xmodem.h xmodem.def
-
- libentry.obj: libentry.asm
-
- fdate.obj: fdate.asm
-
- xmodem.exe: $(OBJ) xmodem.rc xmodem.def
- $(LINK) $(OBJ),,NUL,/NOE /NOD /CO libw sdllcew, xmodem.def
- rc -30 xmodem xmodem.exe
- copy xmodem.exe d:\pw\xmodem.dlp
-